package com.hqyj.fj.java_spring_cloud_test.service.impl;

import com.hqyj.fj.entity.test.Country;
import com.hqyj.fj.java_spring_cloud_test.dao.CountryDao;
import com.hqyj.fj.java_spring_cloud_test.service.CountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/*
 * @Description CountryServiceImpl
 * @Author HymanHu
 * @Date 2021/8/19 15:26
 */
@Service
public class CountryServiceImpl implements CountryService {
    @Autowired
    private CountryDao countryDao;

    @Override
    public Country getCountryByCountryId(int countryId) {
        return countryDao.getCountryByCountryId(countryId);
    }
}
